package org.jeecg.modules.achachievesubjprojitem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.config.mybatis.TenantContext;
import org.jeecg.modules.common.baseentity.PublicBeanPage;
import org.jeecg.modules.common.utils.DateUtil;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: ach_achievement_subj_proj_item
 * @author: baochangrong
 * @Date:   2022-03-18
 * @Version: V1.0
 */
@Data
@TableName("ach_achievement_subj_proj_item")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ach_achievement_subj_proj_item对象", description="ach_achievement_subj_proj_item")
public class AchAchievementSubjProjItemDemo extends PublicBeanPage implements Serializable {
    private static final long serialVersionUID = 1L;

    /**学生*/
    @Excel(name = "学生", width = 15,isColumnHidden=true)
    @ApiModelProperty(value = "学生")
    private String studentId;

    /**学生*/
    @Excel(name = "学生名称", width = 15)
    @ApiModelProperty(value = "学生")
    private String studentName;

    /**学生*/
    @Excel(name = "学号", width = 15)
    @ApiModelProperty(value = "学号")
    private String studentNo;

    /**考试卷*/
    @Excel(name = "考试卷，（默认0）", width = 15,isColumnHidden = true)
    @ApiModelProperty(value = "考试卷，（默认0）")
    private String examinationPaperId;

    /**考试卷*/
    @Excel(name = "考试卷编码", width = 15)
    @ApiModelProperty(value = "考试卷编码")
    private String examinationPaperCode;

    /**考试卷*/
    @Excel(name = "考试卷名称", width = 15)
    @ApiModelProperty(value = "考试卷名称")
    private String examinationPaperName;

    /**科目*/
    @Excel(name = "科目", width = 15,isColumnHidden = true)
    @ApiModelProperty(value = "科目")
    private String subjectId;

    /**科目*/
    @Excel(name = "科目编码", width = 15)
    @ApiModelProperty(value = "科目编码")
    private String subjectCode;

    /**科目*/
    @Excel(name = "科目名称", width = 15)
    @ApiModelProperty(value = "科目名称")
    private String subjectName;

    /**试卷分项目id(默认0)*/
	@Excel(name = "试卷分项目id(默认0)", width = 15,isColumnHidden = true)
    @ApiModelProperty(value = "试卷分项目id(默认0)")
    private String examPaperProjectItemId;

    /**试卷分项目id(默认0)*/
	@Excel(name = "试卷分项编码", width = 15)
    @ApiModelProperty(value = "试卷分项目编码")
    private String examPaperProjectItemCode;

    /**试卷分项目id(默认0)*/
	@Excel(name = "试卷分项", width = 15)
    @ApiModelProperty(value = "试卷分项")
    private String examPaperProjectItemName;



	/**分项分数*/
	@Excel(name = "分项分数", width = 15)
    @ApiModelProperty(value = "分项分数")
    private Double achiSubjProjItemScore;

    /**成绩状态：1正常(默认) 1缺考 3作弊 4取消*/
    @Excel(name = "成绩状态", width = 15)
    @ApiModelProperty(value = "成绩状态：1正常(默认) 1缺考 3作弊 4取消")
    private String achievementStatus = "1";

    //不用导出到exec

    /**分项分数*/
    @ApiModelProperty(value = "导入批次")
    private String batchNumber;

	/**是否启用*/
    @ApiModelProperty(value = "是否启用")
    @Dict(dicCode = "iz_open")
    private Integer izOpen=1;
	/**所属部门编码*/
    @ApiModelProperty(value = "所属部门编码")
    private String sysOrgCode;
	/**学校id*/
    @ApiModelProperty(value = "学校id")
    private String tenantId = TenantContext.getTenant();
	/**0表示未删除,1表示删除*/
    @ApiModelProperty(value = "0表示未删除,1表示删除")
    @Dict(dicCode = "del_flag")
    private Integer delFlag=0;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime= DateUtil.getCurrentDate();
	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime=DateUtil.getCurrentDate();

    //接口补充字段
    /**年级ID*/
    @ApiModelProperty(value = "年级ID")
    @TableField(exist = false)
    private String gradeId;

    /**考试ID*/
    @ApiModelProperty(value = "考试ID")
    @TableField(exist = false)
    private String examinationId;

    /**考试ID*/
    @ApiModelProperty(value = "考试编码")
    @TableField(exist = false)
    private String examinationCode;

    /**考试ID*/
    @ApiModelProperty(value = "考试")
    @TableField(exist = false)
    private String examinationName;

    /**班级ID*/
    @ApiModelProperty(value = "班级ID")
    @TableField(exist = false)
    private String classIds;

    /**考试卷*/
    @ApiModelProperty(value = "考试卷ID")
    private String examinationPaperIds;


}
